return {
  "windwp/nvim-autopairs",
  event = "InsertEnter",
  config = function()
    require "nvim-autopairs".setup {
      check_ts = true,
      ts_config = {
        lua = { "string", "source" },
        javascript = { "string", "template_string" },
      },
      fast_wrap = {
        map = '<leader>q',
        chars = { '{', '[', '(', '"', "'" },
        pattern = [=[[%'%"%)%>%]%)%}%,]]=],
        end_key = '$',
        keys = 'qwfpgjluyzxcvbkmarstdheio',
        check_comma = true,
        highlight = 'Search',
        highlight_grey='Comment'
      }
    }
  end
}
